import './icon.css';
import './App.css';
import PrizeList from './features/prizelist';
import Login from './features/login';
import {
    BrowserRouter as Router,
    Switch,
    Route
} from "react-router-dom";
function App() {
    return (
        <div className="App">
        <Router>
            <Switch>
                <Route path="/" exact>
                    <Login></Login>
                </Route>
                <Route path="/prizelist">
                    <PrizeList></PrizeList>
                </Route>
            </Switch>
        </Router>
        </div>
    );
}

export default App;
